package com.example.searchbackend.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.searchbackend.mapper.ArticleMapper;
import com.example.searchbackend.model.Article;
import com.example.searchbackend.service.IArticleService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, Article>
        implements IArticleService {
    @Override
    public List<Article> getAllArticles() {
        return this.list();
    }
}
